﻿using UnityEngine;
using UnityEngine.UI;

namespace Assets.Scripts.UI.Buttons     
{
    public class ButtonSprite:MonoBehaviour
    {
        public Sprite NormalSprite;
        public Sprite PressedSprite;

        public void SetNormalSprite()
        {
            GetComponent<Image>().sprite = NormalSprite;
        }

        public void SetPressedSprite()
        {
            GetComponent<Image>().sprite = PressedSprite;
        }
    }
}